import request from '@/utils/request'

//查询
export function majorTree(data) {
	return request({
		url: '/admin/major/majorTree',
		method: 'get',
		params: data
	})
}

//新增
export function majorSave(data) {
	return request({
		url: '/admin/major/majorSave',
		method: 'post',
		data
	})
}

//修改
export function majorUpdate(data) {
	return request({
		url: '/admin/major/majorUpdate',
		method: 'post',
		data
	})
}

//删除
export function majorRemove(data) {
	return request({
		url: '/admin/major/majorRemove',
		method: 'post',
		params: data
	})
}


